<template>
  <div class="common-title">
    <div>{{ title }}</div>
    <span style="display: inline-block;margin-bottom: 12px">
      <slot></slot>
    </span>
  </div>
</template>

<script setup>
const props = defineProps(['title'])
</script>

<style lang="scss" scoped>
.common-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-image: url("../../../assets/image/home/title.png");
  background-size: 100% 100%;
  height: 45px;
  > div {
    padding: 0px 0 0 90px;
    margin-bottom: 12px;
    font-family: YouSheBiaoTiHei;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0em;
    color: #D4E8F8;
    text-shadow: 0px 0px 12px 0px rgba(50, 160, 244, 0.6);
  }
}
</style>
